//
//  HMTextField.swift
//  微博
//
//  Created by 程双岐 on 16/9/19.
//  Copyright © 2016年 heima. All rights reserved.
//

import UIKit

class HMTextField: UITextField {

    @IBInspectable var boardColor : UIColor?{
        didSet{
            self.layer.borderColor = boardColor?.cgColor
        }
        
    }
    
    @IBInspectable var borderWidth : CGFloat = 0{
        didSet{
            self.layer.borderWidth = borderWidth
        }
        
    }
    
    @IBInspectable var cornerRadius : CGFloat = 0{
        didSet{
            self.layer.cornerRadius = cornerRadius
            self.layer.masksToBounds = true
        }
    }
    

}
